package com.xcm.dao;

import com.xcm.model.TbProgramDownload;

/**
 * 节目下载信息
 */
public interface ProgramDownloadMapper {
	/**
	 * 保存节目下载信息
	 *
	 * @param programDownload TbProgramDownload对象
	 */
	void saveProgramDownload(TbProgramDownload programDownload);

	/**
	 * 更新节目下载信息
	 *
	 * @param programDownload TbProgramDownload对象
	 */
	void updateProgramDownload(TbProgramDownload programDownload);

	/**
	 * 通过mac地址获取节目下载信息
	 *
	 * @param mac mac地址
	 * @return TbProgramDownload
	 */
	TbProgramDownload getProgramDownloadByMac(String mac);
}
